<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-show指令</title>
    <script src="../vue.js"></script>
</head>
<body>
    <div id="app">
        <div v-show="flag">{{msg}}</div>
    </div>
</body>
</html>
<script>
    var vm=new Vue({
        el:'#app',
        data:{
            msg:"Hello Vue",
            flag:false
        }
    });
</script>